﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity
{
    /// <summary>
    /// 元数据依赖版本信息
    /// </summary>
    public class MetaDataDependencyVersion
    {
        /// <summary>
        /// ID
        /// </summary>
        [DataMember]
        public string ID { get; set; }
        /// <summary>
        /// 当前元数据ID或Code
        /// </summary>
        [DataMember]
        public string MetadataID { get; set; }
        [DataMember]
        public string MetadataVersionID { get; set; }
        [DataMember]
        public string MetadataVersion { get; set; }

        /// <summary>
        /// 依赖元数据标识或Code
        /// </summary>
        [DataMember]
        public string ParentMetadataID { get; set; }
        [DataMember]
        public string ParentMetadataVersionID { get; set; }
        [DataMember]
        public string ParentMetadataVersion { get; set; }
        /// <summary>
        /// 依赖类型
        /// </summary>
        [DataMember]
        public MetaDataDependencyType DependencyType { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DataMember]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        [DataMember]
        public string Creator { get; set; }

        /// <summary>
        /// 最后修改时间
        /// </summary>
        [DataMember]
        public DateTime LastModifyTime { get; set; }

        /// <summary>
        /// 最后修改者
        /// </summary>
        [DataMember]
        public string LastModifier { get; set; }
        /// <summary>
        /// 项目分支标识
        /// </summary>
        public string ProjectBranchID { get; set; }
    }
}
